package cn.szsys.integration.dto;

import cn.szsys.integration.constants.Validation;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Ryan
 * @since 2025-05-17
 **/
@Data
public class InvestmentDTO implements Serializable {
    /**
     * 证件(使用MD5加密后)
     */
    @NotBlank(message = "证件号不能为空", groups = {Validation.ConditionOne.class})
    private String idCardMd5;
    /**
     * name
     */
    @NotBlank(message = "name不能为空", groups = {Validation.ConditionOne.class})
    private String name;

    /**
     * key(企业名称、社会信用代
     * 码、注册号、组织机构代
     * 码)
     */
    @NotBlank(message = "key不能为空", groups = {Validation.ConditionTwo.class})
    private String key;


    private RouterEnum router;


    public static enum RouterEnum {
        RELATED,
        BASE_INFO;
    }
}
